/**
 * 
 */
package com.gmail.sabujdas.patterns;

import com.gmail.sabujdas.patterns.absfactory.ChemicalFactory;
import com.gmail.sabujdas.patterns.absfactory.ChemicalType;
import com.gmail.sabujdas.patterns.absfactory.OrganicFactory;
import com.gmail.sabujdas.patterns.absfactory.model.Salt;

/**
 * @author Sabuj Das | sabuj.das@gmail.com
 *
 */
public class AbstractFactoryTest {

	
	public static void main(String[] args) {
		ChemicalFactory chemicalFactory = ChemicalFactory.createInstance(ChemicalType.ORGANIC);
		Salt salt = chemicalFactory.createSalt("NaCl");
		System.out.println(salt);
	}
	
}
